<template>
  <section>
    <table class="gridtable" style="width:98%;margin:0 auto;">
      <tr>
        <td style="width:100px;">姓名</td>
        <td>{{widget.data.name}}</td>
        <td>性别</td>
        <td>{{widget.data.gender}}</td>
        <td>出生日期</td>
        <td>{{widget.data.birthday}}</td>
      </tr>
      <tr>
        <td>手机</td>
        <td colspan="5">{{widget.data.phone}}</td>
      </tr>
      <tr>
        <td>联系地址</td>
        <td colspan="5">{{widget.data.address}}</td>
      </tr>
    </table>
  </section>
</template>

<script>
  export default {
    name: "page-user-info",
    props: ['widget', 'showConfDialog'],
    data(){
      return {

      }
    },
    created(){
      console.log('啥啥----',this.widget)
    }
  }
</script>

<style lang="scss">
  table.gridtable {
    font-family: verdana,arial,sans-serif;
    font-size:11px;
    color:#333333;
    border-width: 1px;
    border-color: #666666;
    border-collapse: collapse;
  }
  table.gridtable th {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #dedede;
  }
  table.gridtable td {
    border-width: 1px;
    padding: 8px;
    border-style: solid;
    border-color: #666666;
    background-color: #ffffff;
  }
</style>
